TEMPLATE = app
TARGET = pong
DEPENDPATH += .
INCLUDEPATH += .
QT -= gui
CONFIG += qdbus

# Input
HEADERS += ping-common.h pong.h
SOURCES += pong.cpp

# install
#target.path = $$[QT_INSTALL_EXAMPLES]/dbus/pingpong
#sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
#sources.path = $$[QT_INSTALL_EXAMPLES]/dbus/pingpong
#INSTALLS += target sources

  unix {
    #VARIABLES
    isEmpty(PREFIX) {
        PREFIX = /usr
  }
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share

DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"

#MAKE INSTALL

INSTALLS += target

  target.path =$$BINDIR

}
